﻿using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using JPW.OnlinePaperSubmissionSystem.Auditing.Dto;
using JPW.OnlinePaperSubmissionSystem.Dto;
using JPW.OnlinePaperSubmissionSystem.Project.Dto;
using Kendo.DynamicLinq;
namespace JPW.OnlinePaperSubmissionSystem.Project
{
    public interface IParameterTypeAppService : IApplicationService
    {
        DataSourceResult KendoGetParameterTypes(DataSourceRequest input);
        
        ListResultOutput<ParameterTypeListDto> GetParameterTypes(GetParameterTypeInput input);
        
        Task<ListResultOutput<ParameterTypeListDto>> GetParameterTypesAsync();

        Task DeleteParameterType(IdInput input);
        
        Task CreateOrUpdateParameterType(CreateOrUpdateParameterTypeInput input);
        
        Task CreateParameterTypeAsync(CreateOrUpdateParameterTypeInput input);
        
        Task UpdateParameterTypeAsync(CreateOrUpdateParameterTypeInput input);
        
        Task<GetParameterTypeForEditOutput> GetParameterTypeForEdit(NullableIdInput input);
        

    }
}